package com.xltt.watchfota.bean;

import java.io.Serializable;
import java.util.List;

public class Data implements Serializable {
    private boolean isUpdate;
    private String version;
    private int versionCode;
    private boolean mandatoryUpgrade;
    private String ts;

    private List<VersionInfo> versionInfo ;

    public void setIsUpdate(boolean isUpdate){
        this.isUpdate = isUpdate;
    }
    public boolean getIsUpdate(){
        return this.isUpdate;
    }
    public void setVersion(String version){
        this.version = version;
    }
    public String getVersion(){
        return this.version;
    }
    public void setVersionCode(int versionCode){
        this.versionCode = versionCode;
    }
    public int getVersionCode(){
        return this.versionCode;
    }
    public void setMandatoryUpgrade(boolean mandatoryUpgrade){
        this.mandatoryUpgrade = mandatoryUpgrade;
    }
    public boolean getMandatoryUpgrade(){
        return this.mandatoryUpgrade;
    }
    public void setTs(String ts){
        this.ts = ts;
    }
    public String getTs(){
        return this.ts;
    }
    public void setVersionInfo(List<VersionInfo> versionInfo){
        this.versionInfo = versionInfo;
    }
    public List<VersionInfo> getVersionInfo(){
        return this.versionInfo;
    }
}
